package cn.simon.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @author Kinfer
 * @date 2022/10/24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Goods {
    @TableId(type = IdType.AUTO)
    private Integer goodsId;
    private Integer classifySecId;
    private Integer sellerId;
    private String goodsName;
    private BigDecimal goodsPrice;
    private Integer goodsNumber;
    private Integer goodsSellNumber;
    private String goodsIntroduce;
    private String goodsPicture;
    private Integer goodsState;
    @TableField(exist = false)
    private Seller seller;
}